import request from '@/utils/request'

// 部门列表
export function getSectorLists(query) {
    return request({
        url: '/joining/busin.Position/getSectorLists',
        method: 'post',
        params: query
    })
}
// 添加/修改 部门
export function setSector(query) {
    return request({
        url: '/joining/busin.Position/setSectorInfo',
        method: 'post',
        params: query
    })
}
// 部门状态 启用/禁用
export function setSectorStatus(query) {
    return request({
        url: '/joining/busin.Position/setSectorStatus',
        method: 'post',
        params: query
    })
}
// 删除部门
export function delSector(query) {
    return request({
        url: '/joining/busin.Position/delSectorInfo',
        method: 'post',
        params: query
    })
}